﻿using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace TestWebApplication.Models.Forms
{
    public class RegisterCompleteForm
    {
        public RegisterCompleteForm()
        {
            var sizes = new string[] { "", "36", "37", "37.5", "38", "38.5", "39", "40", "41", "42", "43", "44", "45", "46", "47" };
            SizeList = new SelectList(sizes);
        }

        public SelectList SizeList { get; private set; }

        [Required(ErrorMessage = "Не указан размер")]
        [Display(Name = "Размер обуви по европейской системе")]
        public string Size { get; set; }
    }
}